package sistema.seguimiento.items.spring.genericService;

/**
 * Generic interface for a service invoker
 * 
 */
public interface IGenericServiceInvoker {

  /**
   * Invokes the service
   * 
   * @param handlerName
   *          the bean name that handles the service call
   * @param methodName
   *          service handler's method name
   * @param parameters
   *          the parameters to be passed to the handler
   * @throws Throwable
   * @return Object
   */
  Object invoke(String handlerName, String methodName, Class[] parameterTypes,
      Object[] parameters) throws Throwable;
}
